OTP\Handler\Forms\WPFormsPlugin A

Total Complexity 61
Dependencies 7
Dependents 0
Total lines 303
Lines of code 215
Logical lines of code 131
Comment lines 0
Methods 22
Properties 0

Methods 22

Method Rating Maintainability Complexity Lines of code
validateForm()
S
59 8 13
handleForm()
S
56 5 16
getFieldIDs()
S
61 6 10
parseFormDetails()
S
56 4 17
checkIntegrity()
S
60 4 13
getPhoneNumberSelector()
S
68 4 7
handleFormOptions()
S
61 3 12
__construct()
S
56 2 18
getFormDataFromID()
S
69 3 6
processPhone()
S
65 3 8
processEmail()
S
65 3 8
checkIntegrityAndValidateOTP()
S
60 2 13
_processPhoneAndSendOTP()
S
62 2 11
_processEmailAndSendOTP()
S
62 2 11
mo_enqueue_wpforms()
S
56 1 18
_send_otp()
S
68 2 7
checkIfOTPSent()
S
69 2 7
handle_failed_verification()
S
80 1 3
handle_post_verification()
S
80 1 3
unsetOTPSessionVariables()
S
79 1 3
processFormAndValidateOTP()
S
75 1 5
getSessionDetails()
S
71 1 6